{% load url from future %}
{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>{% block title %}Tibus: Sistema de prediccion de tiempos de arribo{% endblock %}</title>

    <link href="../Archivos/css/bootstrap_celurean.min.css" rel="stylesheet">
    <script src="http://code.jquery.com/jquery-1.8.0.js"></script>
    <link href="../Archivos/css/bootstrap-responsive.css" rel="stylesheet">
 	<script src="../Archivos/js/bootstrap.js"></script>
 		
    {% block extrastyle %}{% endblock %}
    {% block extrahead %}{% endblock %}
    {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}	
  </head>

<body class=" {% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}" {% block extrabody %} {% endblock %}>

<!-- Container -->
<div class="container">

    {% if not is_popup %}
    <!-- Header -->
    <div id="top-bar-bg">
        <div id="branding">
        {% block branding %}{% endblock %}
        </div>
        {% if user.is_active%}
        <div id="user-tools" align=right style="font-family: Arial; font-size: 12px;">
            {% trans 'Bienvenido,' %}
            <strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>.
            {% block userlinks %}
                {% url 'django-admindocs-docroot' as docsroot %}
                {% if docsroot %}
                    <a href="{{ docsroot }}">{% trans 'Documentacion' %}</a> /
                {% endif %}
                <a href="/">{% trans 'Home' %}</a> /
                <a href="password">
                {% trans 'Cambiar Contraseña' %}</a> /
                {% url 'logout' as logout_url %}
                {% if logout_url %}
                    <a href="{{ logout_url }}">
                {% else %}
                    <a href="{{ root_path }}logout">
                {% endif %}
                {% trans 'Desconectarse' %}</a>
            {% endblock %}
         </div>
        {% endif %}
        {% block nav-global %}{% endblock %}
    </div>
    {% endif %}

        {% if messages %}
        <ul class="messagelist">{% for message in messages %}
          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
	{% endfor %}</ul>
        {% endif %}

    <!-- Content -->
    <div id="content" Style="font-family: Arial;" class="{% block coltype %}colM{% endblock %}">
        {% block pretitle %}{% endblock %}
        {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
        {% block menu %} {% endblock %}
        <div align="center">{% block content %}
        {% block object-tools %}{% endblock %}
        {{ content }}
        {% endblock %}</div>
        {% block sidebar %}{% endblock %}
        <br class="clear" />
    </div>
    <!-- END Content -->

    {% block footer %}<div id="footer"></div>{% endblock %}
</div>
<!-- END Container -->

</body>
</html>
